//
//  HomeCollectionViewCell.m
//  BaseProject
//
//  Created by hundredsandc on 2017/10/26.
//  Copyright © 2017年 hundredsandc. All rights reserved.
//

#import "HomeCollectionViewCell.h"
#import "UIImageView+WebCache.h"

@interface HomeCollectionViewCell ()
@property (weak, nonatomic) IBOutlet UIImageView *imageView;
@property (weak, nonatomic) IBOutlet UILabel *timeLabel;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UILabel *typeLabel;

@end
@implementation HomeCollectionViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
-(void)customImageUrl:(NSString *)imageurl time:(NSString *)time title:(NSString *)title type:(NSString *)type{
    [_imageView sd_setImageWithURL:[NSURL URLWithString:imageurl]];
    _timeLabel.text = time;
    _titleLabel.text = title;
    _typeLabel.text =type;
}
@end
